package com.example.core.dao;

import com.example.core.po.BaseTreePo;

import java.io.Serializable;
import java.util.List;

public interface BaseTreeDao<T extends BaseTreePo> extends BaseDao<T> {

    public abstract List<T> findRoot();

    public abstract List<T> findByPId(Serializable pid);
}

